package com.woniuxy.educationplatform.service.impl;

import com.woniuxy.educationplatform.bean.SectionBean;
import com.woniuxy.educationplatform.mapper.SectionMapper;
import com.woniuxy.educationplatform.service.ISectionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class SectionServiceImpl implements ISectionService {
    @Resource
    private SectionMapper sectionMapperImpl;

    /**
     * 根据id查小节表
     * @param id
     * @return
     */
    @Override
    public SectionBean findById(Long id) {
        return sectionMapperImpl.findById(id);
    }
}
